package com.lifa.service;

import com.lifa.entity.FuwuXiangmu;

import java.util.List;

public interface FuwuXiangmuService {
    //显示全部
    public List<FuwuXiangmu> list();

    //删除
    public int delete(int fuwu_Id);

    //添加
    public int zj(FuwuXiangmu fuwuXiangmu);

    //修改
    public int update(FuwuXiangmu fuwuXiangmu);

    //根据id查询
    public FuwuXiangmu queryById(int fuwu_Id);

    //总条数
    public int findTotalCount(String name);

    //分页
    public List<FuwuXiangmu> findAll(String name, int offset, int limit);
}
